php forum
php mysql forum
php mysql smarty
 
Topic Options
#229846 - 12/26/02 03:07 AM [6.2] PM Quote Original Message v1.3
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name / Version - PM Quote Original Message 1.2 <br />     ver 1.1 fixes a few minor erros in the instructions - thanks to Maze <br />     ver 1.2 updates instructions to work with 6.2 <br />     ver 1.3 adds a couple of get_input calls to work when Register Globals is off <br /> <br />Description - Gives the user the option to quote the original message when replying to a PM. There is a checkbox to include the quote. If the user leaves the checkbox checked, then the message they are replying to will be included at the end of their message in quote tags. <br /> <br />Pre-requisites - none <br /> <br />Author - JoshPet - www.joshuapettit.com <br />     for discussions and bug reports come to www.threadsdev.com <br /> <br />Credits - maze and dimopoulos for suggesting it <br /> <br />Files Altered - mess_handler.php, mess_reply.php, mess_handler.tmpl, mess_reply.tmpl <br /> <br />Database Altered - no <br /> <br />New Files - none <br /> <br />Any other info - I was pretty proud of myself for pulling this one off. <img src="/forum/images/graemlins/wink.gif" alt="" /> LOL <br /> <br />


Attachments
62522-PMQuoteOrigMsg1.3.txt (305 downloads)



Edited by JoshPet (03/04/03 11:42 PM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229847 - 02/03/03 10:46 AM Re: [6.2] PM Quote Original Message 1.2 [Re: Daine]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Josh,<br /><br />I was wondering if we could modify this a bit. <br /><br />In my board users tend to reply again and again to PM's and the quote mechanism ends up with a message which has one character per line further down the screen). This is quite inconvenient display wise.<br /><br />Would it be possible to change it to something like:<br /><br />---------- Original Message ----------<br />Subject : Re: Blah Blah<br />Poster : dimopoulos<br />Date : Feb/02/2003 10:34:27<br />Message :<br />More on Blah?<br /><br />This way the display is not distorted. <br /><br />I hope I explained it clearly<br /><br />Nikos
_________________________
Nikos

Top
#229848 - 02/03/03 10:48 AM Re: [6.2] PM Quote Original Message 1.2 [Re: Hal_dup2]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah,<br /><br />That would be fairly simply.<br /><br />Feel free... and or I'll try to look at this, although it will probably be mid week before I can get a chance. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229849 - 02/03/03 10:48 AM Re: [6.2] PM Quote Original Message 1.2 [Re: Daine]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
OK I'll give it a go and if I get stuck I'll shout <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Nikos
_________________________
Nikos

Top
#229850 - 02/03/03 11:10 AM Re: [6.2] PM Quote Original Message 1.2 [Re: Hal_dup2]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Basically you'll be looking for this section:<br /><br /> //-----------------------------------------------------<br /> // If they wanted to quote the original message - hack by JoshPet<br /> // we'll add it on here<br /> if ($QuoteOrig) {<br /> $Message .= "\n\n<blockquote><font class=\"small\">{$ubbt_lang['IN_REPLY']}:</font><hr /><br />";<br /> $Message .= $OrigMessage;<br /> $Message .= "<br /><br /><hr /></blockquote>";<br /> }<br /><br />and instead of adding the HTML for blockquote (the quote box) you'll be modifying it to look however you like. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229851 - 02/03/03 05:08 PM Re: [6.2] PM Quote Original Message 1.2 [Re: Daine]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
gracias, me rikey dis one <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#229852 - 02/03/03 06:04 PM Re: [6.2] PM Quote Original Message 1.2 [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
LOL<br /><br />Allen your replies lately keep making me laugh out loud. LOL<br />Maybe I need a break from the computer... or maybe you are really a funny guy. <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229853 - 02/13/03 12:49 AM Re: [6.2] PM Quote Original Message 1.2 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Moved to finished mods forum.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229854 - 02/16/03 06:43 PM Re: [6.2] PM Quote Original Message 1.2 [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Had trouble with the greamlin panel in the reply(PM) when I installed this hack. Caused runtime errors

Top
#229855 - 03/04/03 11:43 PM Re: [6.2] PM Quote Original Message v1.3 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Updated to version 1.3 adding a couple of missing "get_input" calls. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229856 - 06/11/03 11:25 PM Re: [6.2] PM Quote Original Message v1.3 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Verified that this worked with 6.3 and reposted to the new modification index here
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks